import { createApp } from 'vona';
import { locales } from '../src/backend/config/locales.ts';
import config from './config.ts';
import env from './env.ts';
<%=appMonkey?"import { AppMonkey } from '../src/backend/config/monkey.ts';":''%>

export async function createSingleApp() {
  return await createApp({
    modulesMeta: () => import('./modules-meta.ts'),
    locales,
    config,
    env,
    <%=appMonkey?'AppMonkey,':''%>
  });
}
